<!DOCTYPE html>
<html>

	<head>
        <title>SISCO - Listado de categorías</title>
        {include file="head_scripts.html"}

    </head>

    <body>

        {include file="header.html"}


        <div class="container">

			{include file="messages.html"}

                
                {if (true)}
<div id="" class="row">
	

                        {if (true)}
<div id="" class="span3">
	
                                {include file="producto_sidebar.html"}
                        	
</div>
{/if} <!-- span3 -->


                        {if (true)}
<div id="" class="span9">
	
                            	<legend >Listado de categorías</legend>

								<a id="" name="" href="categorias/create/" class='btn'>Agregar</a>


                                <table class="table table-bordered table-striped table-hover">
                                    <thead>
                                        <tr>
                                            <th>Nombre</th>
                                            <th>Acciones</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                    {foreach from=$categorias item="categoria"}
                                        <tr>
                                            <td>{$categoria->nombre}</td>
                                            <td class="span2">
                                                <a id="" name="" href="categorias/update/{$categoria->id}/" >Editar</a>

    
    
                                                <a id="" name="" href="categorias/delete/{$categoria->id}/" class='delete-confirm' data-delete_msg='¿Estás seguro que querés borrar esta categoría?'>Eliminar</a>

    
    
                                            </td>
                                        </tr>
                                    {/foreach}
                                    </tbody>
                                </table>
                        	
</div>
{/if} <!-- .span9 -->
                        
                    
</div>
{/if} <!-- .row -->

			
            {include file="footer.html"}

        </div><!-- .container -->

        {include file="footer_scripts.html"}</body>
</html>